Skip to content

Conversation

martincostello
Copy link
Member

Changes

Publish NuGet packages built from tags to NuGet.org.

Merge requirement checklist

  • Unit tests added/updated
  • CHANGELOG.md updated
  • Changes in public API reviewed (if applicable)

Publish NuGet packages built from tags to NuGet.org.
@martincostello martincostello added enhancement New feature or request dependencies Pull requests that update a dependency file github-actions Pull requests that update GitHub Actions code labels Jul 25, 2025
@martincostello martincostello marked this pull request as ready for review August 5, 2025 13:19
@Copilot Copilot AI review requested due to automatic review settings August 5, 2025 13:19
@martincostello martincostello requested a review from a team as a code owner August 5, 2025 13:19
@martincostello
Copy link
Member Author

Secrets added to Vault.

Tested with #213.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds automated publishing of NuGet packages to NuGet.org when new tags are created. The implementation includes a new GitHub Actions job that retrieves packages from artifacts and publishes them using a secure token stored in Vault.

Key changes:

  • Added a new publish-nuget job that triggers on tag pushes
  • Integrated with Grafana's shared workflows for secure token retrieval
  • Updated dependency review configuration to allow the new Vault secrets action

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/dependency-review.yml Updated to allow the Vault secrets action in dependency license checks
.github/workflows/ci.yml Added new publish-nuget job with Vault integration and NuGet publishing logic

Remove TODO now the secrets are stored.
Update the version to 1.12.0.
@martincostello martincostello enabled auto-merge (squash) August 5, 2025 13:23
@martincostello martincostello merged commit 2ae77a2 into main Aug 5, 2025
19 checks passed
@martincostello martincostello deleted the publish-tags-to-nuget branch August 5, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request github-actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants